home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_2
/
qofdv605.zip
/
QOFDAY.DOC
< prev
next >
Wrap
Text File
|
1992-10-26
|
8KB
|
240 lines
|| Quote O' The Day v6.05 ||
`========================'
By Uncle Productions
--==========================--
Supporting PCBoard, Wildcat!, GAP, QBBS,
RBBS, Remote Access, Spitfire, WWIV,
Telegard, and Renegade.
Kudos to Ted Freeman, the programming god who writes
the best door kit for Quick Basic
Please take note:
-----------------
This product is provided "as is" without warranty of any kind. The entire
risk as to the results and performance of the program is assumed by you.
Furthermore, the author does not warrant, guarantee, or make any other
representations regarding the use of, or the results of the use of the
program, and you rely on the program and results solely at your own
risk. The author cannot and will not accept responsibility for system
damage, loss of profit, or any other special, consequential or incidental
damages resulting from the use or inability to use this product.
Shareware
---------
Quote O' The Day is being distributed as Shareware. Under this concept
you may use the SHAREWARE (unregistered) version for a reasonable
period of time for evaluation after which you must either register
your copy or discontinue usage.
Distribution:
-------------
You have a ßeta copy of Quote O' The Day. DO NOT distribute this
to anyone, unless approved by Tim Miranda.
Description:
============
As I wandered my way through BBS's, I thought: Some need to perk up. So, I
thought that giving the user a good quote or phrase would be inspirational
to the user. But the Random Quote Makers out there weren't quite what I was
looking for. I was looking for one that would let the user add phrases and
quotes. So I made one that did.
The program comes with to parts: The Quote generator and the user interface.
The quote generator is a regular program, which usually is made into a BBS
event. The user interface is a door that works with most BBS types.
THE FILES
---------
Make sure you have all the files in the same directory. In this text I'll
assume they're in C:\DOORS\QOFDAY, but they don't have to be.
QOFDAY.EXE is the door that lets users add and list the quotes.
MKEQUOTE.EXE is the program that actually generates quotes.
QUOTES is the text file with all 3 line quotes and phrases in it.
QOFDAY.CNF is the Config file for QOFDAY.EXE.
MKEQUOTE.CNF is the config file for MKEQUOTE.EXE.
QOFDOOR.BAT is a batch file to run QOFDAY.EXE as a door.
EVENT.BAT is a batch file to run MKEQUOTE.EXE as a BBS event.
ORDER.FRM is the form to print out and send to me ASAP (heh heh).
UNKPROD.INF is a list of support BBS's that Tim Miranda can be reached on.
WHATSNEW. is a text file explaining what's new about this version.
QUOTES.ADD is where quotes added by users are stored for sysop approval.
OKQUOTES.EXE is the program to link QUOTES.ADD and QUOTES (See above)
QOFDAY.EXE and MKEQUOTE.EXE generates a log of usage, named QOFDAY.LOG.
Useful to see who adds what quotes. The log can be deleted at any time.
ABOUT THE QUOTE FILE:
---------------------
The Quote file (QUOTES) is formatted a little differently than in previous
versions. All quotes can have unlimited lines, except for sysop restriction.
This is the format:
LINE 1
LINE 2
LINE 3
etc..
+
If you, the SysOp, are adding quotes manually, without the door, make sure you
use all three lines. Suppose you have the quote "Make my day." It would look:
"Make my day."
+
*** IMPORTANT ***
Starting in version 6.02, all quotes that are added by users are
stored in QUOTES.ADD, so sysops can check them for obscenities, and other
bad things. Once the sysop thinks the quotes are ok, (s)he can run OKQUOTES,
which will automatically add them to the actual Quote file (QUOTES.)
CONFIG FILE:
------------
| User Interface (QOFDAY.EXE)|
This config file for the User Interface Door is QOFDAY.CNF. Here it is:
<PATH TO BBS INFO + BBS INFO FILE NAME>
<BBS NAME>
<SYSOP FIRST NAME>
<SYSOP LAST NAME>
<MAX NUMBER OF LINES USERS CAN HAVE TO INPUT QUOTES>
The path to BBS info is where you keep the DORINFOx.DEF, PCBOARD.SYS,
SFDOORS.DAT, etc. Here's my config file (I use DORINFO1.DEF):
C:\BBS\DORINFO1.DEF
Taj Mahal
Tim
Miranda
5
Pretty simple, huh?
| Quote Generator (MKEQUOTE.EXE) |
The config file for the Quote Generator is MKEQUOTE.CNF. Here it is:
<COM PORT #>
<FILE or SEND>
COM PORT # is just that: 1, 2, 3, or 4.
The second line is different:
FILE means you want the quote to be sent to a file, specifically THEQUOTE.QOD.
SEND means you want the quote to be sent directly to the user. Use this if you
want the quote to be generated and sent while the user is ONLINE.
RUNNING THE PROGRAMS
********************
| User Interface (QOFDAY.EXE)|
You'll probably want a batch file for this. It might look like:
CD\DOORS\QOFDAY
QOFDAY QOFDAY.CNF
CD\BBS
EXIT
Just have it change to the QOFDAY directory, then run QOFDAY.EXE with
the CNF on the command line.
(Make sure the BBS makes one of the Door Info files supported)
(In Telegard, just use "DD" in the Menu Editor)
| Quote Generator |
Depending on where you want the quote to be put, there are two things to do:
This one is if you want it sent to THEQUOTE.QOD file. You'll want the program
to make one ANSI Quote and one ASCII Quote. This is easy. Make a batch
file looking like this:
CD\DOORS\QOFDAY
MKEQUOTE 1
COPY THEQUOTE.QOD C:\BBS\AFILES\LOGON1.ANS
MKEQUOTE 0
COPY THEQUOTE.QOD C:\BBS\AFILES\LOGON1.MSG
CD\BBS
EXIT
Essentially what this does is makes 2 Quote files: One ANSI, One ASCII.
Then it copies them to the BBS file you want, like in Telegard to the log on
files. That way both ANSI and ASCII callers can see it.
This is also the way to put the Quote Generator into an event. Just use
the batch file, EVENT.BAT.
If you want it sent to the user immediately, you must be able to tell
the program if the user has ANSI of not. In Telegard, you do:
MKEQUOTE @G
Where @G is 0 for no ANSI, 1 for ANSI. If you put nothing there, it
will just display ASCII.
MkeQuote will make an ANSI THEQUOTE.QOD if there is a 1 in the
commandline, or ASCII if there is a 0.
[For Product Support Please Read UNKPROD.INF for a list of BBS's]